﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Api.Models
{
    /// <summary>
	/// wf_instance:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
    public partial class wf_instance
    {
        public wf_instance()
        { }
        #region Model
        private int _id;
        private int? _wf_tempid;
        private string _instname;
        private Guid _wfapplicationid;
        private int? _subby;
        private DateTime? _subtime;
        private DateTime? _endtime;
        private int? _status;
        private int? _delflag;
        private string _remark;
        private string _instanceform;
        private int _report_id = 0;
        private int _operator = 0;
        private int _case_id = 0;
        private int _final_report_id;
        private int _resolved_id = 0;
        private DateTime _add_time = DateTime.Now;
        private string _group_time = "";
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? WF_TempID
        {
            set { _wf_tempid = value; }
            get { return _wf_tempid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string InstName
        {
            set { _instname = value; }
            get { return _instname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public Guid WFApplicationId
        {
            set { _wfapplicationid = value; }
            get { return _wfapplicationid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? SubBy
        {
            set { _subby = value; }
            get { return _subby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? SubTime
        {
            set { _subtime = value; }
            get { return _subtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? EndTime
        {
            set { _endtime = value; }
            get { return _endtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? DelFlag
        {
            set { _delflag = value; }
            get { return _delflag; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string InstanceForm
        {
            set { _instanceform = value; }
            get { return _instanceform; }
        }

        public int report_id
        {
            get
            {
                return _report_id;
            }

            set
            {
                _report_id = value;
            }
        }

        public int Operator
        {
            get
            {
                return _operator;
            }

            set
            {
                _operator = value;
            }
        }
        /// <summary>
		/// 案件ID
		/// </summary>
		public int case_id
        {
            set { _case_id = value; }
            get { return _case_id; }
        }

        public int Final_report_id
        {
            get
            {
                return _final_report_id;
            }

            set
            {
                _final_report_id = value;
            }
        }
        /// <summary>
		/// 行政处罚决定书ID
		/// </summary>
		public int resolved_id
        {
            set { _resolved_id = value; }
            get { return _resolved_id; }
        }
        /// <summary>
		/// 
		/// </summary>
		public DateTime add_time
        {
            set { _add_time = value; }
            get { return _add_time; }
        }

        public string group_time
        {
            set { _group_time = value; }
            get { return _group_time; }
        }
        #endregion Model

    }
}
